package com.ruoyi.system.domain;

import java.time.LocalDateTime;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 sg_xm_yanzhengma
 *
 * @author ruoyi
 * @since 2024-10-20
 */
@Getter
public class SgXmYanzhengma extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 类型 */
    @Excel(name = "类型")
    private Integer ctype;

    /** 关键字 */
    @Excel(name = "关键字")
    private String keyworks;

    /** 坐标 */
    @Excel(name = "坐标")
    private String zb;

    /** 图片URL地址 */
    @Excel(name = "图片URL地址")
    private String imgurl;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String imgpath;

    /** 图片大小 */
    @Excel(name = "图片大小")
    private Long filesize;

    /** 用户名 */
    @Excel(name = "用户名")
    private String username;

    /** 备注 */
    @Excel(name = "备注")
    private String rmark;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private LocalDateTime createtime;

    /** 游戏区 */
    @Excel(name = "游戏区")
    private String gamearea;

    /** 验证用户 */
    @Excel(name = "验证用户")
    private String yzuser;

    /** 验证时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "验证时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date yztime;

    /** 玩家ID */
    @Excel(name = "玩家ID")
    private String playerid;

    /** 状态 */
    @Excel(name = "状态 0 为被验证  1 被拉取  2 已验证  3 已过期")
    private int state;

    /** 使用次数 */
    @Excel(name = "使用次数")
    private Long ucount;

    public void setId(Long id)
    {
        this.id = id;
    }

    public void setCtype(Integer ctype)
    {
        this.ctype = ctype;
    }

    public void setKeyworks(String keyworks)
    {
        this.keyworks = keyworks;
    }

    public void setZb(String zb)
    {
        this.zb = zb;
    }

    public void setImgurl(String imgurl)
    {
        this.imgurl = imgurl;
    }

    public void setImgpath(String imgpath)
    {
        this.imgpath = imgpath;
    }

    public void setFilesize(Long filesize)
    {
        this.filesize = filesize;
    }

    public void setUsername(String username)
    {
        this.username = username;
    }

    public void setRmark(String rmark)
    {
        this.rmark = rmark;
    }
    public void setCreatetime(LocalDateTime createtime){
        this.createtime = createtime;
    }

    public void setGamearea(String gamearea)
    {
        this.gamearea = gamearea;
    }

    public void setYzuser(String yzuser)
    {
        this.yzuser = yzuser;
    }

    public void setYztime(Date yztime)
    {
        this.yztime = yztime;
    }

    public void setPlayerid(String playerid)
    {
        this.playerid = playerid;
    }

    public void setState(int state)
    {
        this.state = state;
    }

    public void setUcount(Long ucount)
    {
        this.ucount = ucount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("ctype", getCtype())
                .append("keyworks", getKeyworks())
                .append("zb", getZb())
                .append("imgurl", getImgurl())
                .append("imgpath", getImgpath())
                .append("filesize", getFilesize())
                .append("username", getUsername())
                .append("rmark", getRmark())
                .append("createtime", getCreatetime())
                .append("gamearea", getGamearea())
                .append("yzuser", getYzuser())
                .append("yztime", getYztime())
                .append("playerid", getPlayerid())
                .append("state", getState())
                .append("ucount", getUcount())
                .toString();
    }
}

